Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the GroupID typedef with plain uint64. #132

Merged
merged 1 commit into from
Oct 17, 2014

Conversation

bdarnell
Copy link
Contributor

This mirrors the earlier removal of NodeID and prepares for moving to
etcd/raft (which uses raw integer types instead of named types everywhere).

@spencerkimball @cockroachdb/developers

This mirrors the earlier removal of NodeID and prepares for moving to
etcd/raft (which uses raw integer types instead of named types everywhere).
@spencerkimball
Copy link
Member

LGTM

bdarnell added a commit that referenced this pull request Oct 17, 2014
Replace the GroupID typedef with plain uint64.
@bdarnell bdarnell merged commit f4105cb into cockroachdb:master Oct 17, 2014
@sourcegraphbot
Copy link

 (*multiraft.MemoryStorage).SetGroupState(groupID multiraft.GroupID, state *multiraft.GroupPersistentState) error

 func multiraft.NewMemoryStorage() *multiraft.MemoryStorage

 type multiraft.Storage interface

 type multiraft.EventLeaderElection struct

 (multiraft.EventLeaderElection).GroupID multiraft.GroupID

 type multiraft.MemoryStorage struct

 (*multiraft.MemoryStorage).AppendLogEntries(groupID multiraft.GroupID, entries []*multiraft.LogEntry) error

 type multiraft.SendMessageRequest struct

 (multiraft.Storage).SetGroupState(groupID multiraft.GroupID, state *multiraft.GroupPersistentState) error

 func multiraft.TestCommand(t *testing.T)

 (*multiraft.BlockableStorage).AppendLogEntries(groupID multiraft.GroupID, entries []*multiraft.LogEntry) error

 (multiraft.GroupPersistentState).GroupID multiraft.GroupID

 (*multiraft.MultiRaft).ChangeGroupMembership(groupID multiraft.GroupID, changeOp multiraft.ChangeMembershipOperation, nodeID uint64) error

 (*multiraft.MultiRaft).SubmitCommand(groupID multiraft.GroupID, command []byte) error

 func multiraft.TestInitialLeaderElection(t *testing.T)

 type multiraft.GroupPersistentState struct

 (*multiraft.MultiRaft).CreateGroup(groupID multiraft.GroupID, initialMembers []uint64) error

 (multiraft.SendMessageRequest).GroupID multiraft.GroupID

 (multiraft.Storage).AppendLogEntries(groupID multiraft.GroupID, entries []*multiraft.LogEntry) error

 func multiraft.TestMembershipChange(t *testing.T)

 (*multiraft.BlockableStorage).SetGroupState(groupID multiraft.GroupID, state *multiraft.GroupPersistentState) error

 type multiraft.GroupID int64


View the full smart diff on ✱ sourcegraph.com

Settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants